package work1.work3.chat;

public class ChatFactory {
    ChatTool GetTool(int a){
        if (a==1){
            return new WeiBo();
        }
        else{
            return new Weixin();
        }
    }
}
